class Goods {
  static getList(query, _req, res) {
    let sql =
      "SELECT user.*  FROM user LEFT JOIN dept ON user.id = dept.user_id";
    query(sql, [], (results) => {
      res.status(200).json({ code: 200, data: results, msg: "成功" });
    });
  }
}
module.exports = Goods;
